<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../public/js/vue.js"></script>
</head>
<!-- 
    v-bind: 给标签绑定属性；
    " : " v-bind 语法糖写法；
 -->
<body>
    <div id="app">
        <a :href="url">{{message}}</a>
        <img v-bind:src="img" alt="">
    </div>
    <script>
        const app = new Vue({
            el:"#app",
            data(){
                return {
                    message:'芜湖起飞！',
                    url:'http://www.baidu.com',
                    img:'https://cn.vuejs.org/images/logo.svg'
                }
            }
        })
    </script>
</body>
</html>